package cn.zhagzheguo.xk.model;

public class Course {

	private int id;
	private String name;
	private String icon;
	private String cno; // 课程号
	private int kxh; // 课序号
	private String despriction; // 课程介绍
	private String credit;// 学分
	private String hours;// 学时
	private int teacher1Id; // 教师id
	private int teacher2Id;
	private int capacity;// 课程容量
	private String classes;// 上课节次
	private String weeks;// 上课周次
	private String place;// 上课地点
	private String openedDep; // 开设学院
	private String clazz;// 上课班级
	private String grade;// 上课年级
	private String nature;// 课程性质（属性）
	private int enrolledNumber; // 已报名人数

	private Teacher teacher1;
	private Teacher teacher2;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getCno() {
		return cno;
	}

	public void setCno(String cno) {
		this.cno = cno;
	}

	public int getKxh() {
		return kxh;
	}

	public void setKxh(int kxh) {
		this.kxh = kxh;
	}

	public String getDespriction() {
		return despriction;
	}

	public void setDespriction(String despriction) {
		this.despriction = despriction;
	}

	public String getCredit() {
		return credit;
	}

	public void setCredit(String credit) {
		this.credit = credit;
	}

	public String getHours() {
		return hours;
	}

	public void setHours(String hours) {
		this.hours = hours;
	}

	public int getCapacity() {
		return capacity;
	}

	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}

	public String getClasses() {
		return classes;
	}

	public void setClasses(String classes) {
		this.classes = classes;
	}

	public String getWeeks() {
		return weeks;
	}

	public void setWeeks(String weeks) {
		this.weeks = weeks;
	}

	public String getPlace() {
		return place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public String getNature() {
		return nature;
	}

	public void setNature(String nature) {
		this.nature = nature;
	}

	public int getEnrolledNumber() {
		return enrolledNumber;
	}

	public void setEnrolledNumber(int enrolledNumber) {
		this.enrolledNumber = enrolledNumber;
	}

	public int getTeacher1Id() {
		return teacher1Id;
	}

	public void setTeacher1Id(int teacher1Id) {
		this.teacher1Id = teacher1Id;
	}

	public int getTeacher2Id() {
		return teacher2Id;
	}

	public void setTeacher2Id(int teacher2Id) {
		this.teacher2Id = teacher2Id;
	}

	public Teacher getTeacher1() {
		return teacher1;
	}

	public void setTeacher1(Teacher teacher1) {
		this.teacher1 = teacher1;
	}

	public Teacher getTeacher2() {
		return teacher2;
	}

	public void setTeacher2(Teacher teacher2) {
		this.teacher2 = teacher2;
	}

	public String getOpenedDep() {
		return openedDep;
	}

	public void setOpenedDep(String openedDep) {
		this.openedDep = openedDep;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	@Override
	public String toString() {
		return "Course [id=" + id + ", name=" + name + ", icon=" + icon + ", cno=" + cno + ", kxh=" + kxh
				+ ", despriction=" + despriction + ", credit=" + credit + ", hours=" + hours + ", teacher1Id="
				+ teacher1Id + ", teacher2Id=" + teacher2Id + ", capacity=" + capacity + ", classes=" + classes
				+ ", weeks=" + weeks + ", place=" + place + ", openedDep=" + openedDep + ", clazz=" + clazz
				+ ", grade=" + grade + ", nature=" + nature + ", enrolledNumber=" + enrolledNumber + ", teacher1="
				+ teacher1 + ", teacher2=" + teacher2 + "]";
	}

}
